package com.agent.history.mapper;

import com.agent.commons.other.MessageHistory;
import org.apache.ibatis.annotations.Insert;

public interface MessageHistoryMapper {

    @Insert("insert into messagehistory(userId,conversationId,content,role) values(#{userId},#{conversationId},#{content},#{role})")
    int addMessageHistory(MessageHistory message);
}
